<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="UTF-8"/>
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <title>H5-video移除下载按钮</title>
        <style>
        video::-internal-media-controls-download-button {
            display:none;
        }

        video::-webkit-media-controls-enclosure {
            overflow:hidden;
        }

        video::-webkit-media-controls-panel {
            width: calc(100% + 30px); 
        }
        </style>
    </head>
    <body>
        <h1>去掉video controls的下载按钮方法</h1>
        <p>来源:<a href="https://blog.csdn.net/sanai_1992/article/details/77483387">https://blog.csdn.net/sanai_1992/article/details/77483387</a></p>
        <video controls="false">
          <source src="../assets/demo.mp4" type="video/mp4" />
        Your browser does not support the video tag.
        </video>
    </body>
</html>
